import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';

export class IdVo {
  @ApiProperty({ example: "1", description: "主键ID" })
  @IsNotEmpty({ message: "id不能为空" })
  id: number
}